package com.heima.model.article.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
 
import java.io.Serializable;
 
@Data
@TableName("ap_article_content")
public class ApArticleContent implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private Long id;
 
    /**
     * 文章id
     */
    @TableField("article_id")
    private Long articleId;
 
    /**
     * 文章内容
     */
    private String content;
}